<template>
  <div class="testCenter">
    <keep-alive>
      <router-view v-if="keepAlive" />
    </keep-alive>
    <router-view v-if="!keepAlive" />
  </div>
</template>

<script type="text/javascript">
export default {
  name: 'testCenter',
  data() {
    return {}
  },
  created() {},
  mounted() {},
  computed: {
    keepAlive() {
      return this.$route.meta.keepAlive
    }
  },
  methods: {}
}
</script>

<style lang="scss" scoped >
</style>